#ifndef _CERRORPLOT_H_
#define _CERRORPLOT_H_

#include <buola/chart/plots/clineplot.h>
#include <buola/chart/cseries.h>

namespace buola { namespace chart {

class CErrorPlot : public CLinePlot
{
public:
    CErrorPlot();
    virtual ~CErrorPlot();
    
public:
/////////////// interface /////////////////
    void SetMinSeries(PSeries pSeries);
    void SetMaxSeries(PSeries pSeries);

    virtual double GetMinY();
    virtual double GetMinPosY();
    virtual double GetMaxY();

    virtual void DrawComplements(CXYChartContext &pC);

protected:
/////////////////// properties ////////////////////
    PSeries mMinSeries;
    PSeries mMaxSeries;
};

/*namespace chart*/ } /*namespace buola*/ }

#endif
